package com.hxzy.module.admin.api.role.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author wy
 * @Description TODO
 * @Date 2024/2/2 16:07
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "更改角色权限")
public class ChangeRoleAuthorityReq {

    @ApiModelProperty("角色Id")
    private Long roleId;

    @ApiModelProperty("模块Id数组")
    @NotNull(message = "模块Id数组不能为空")
    private List<Long> moduleIds;

}
